<!--搜索与重置-->
<template>
  <span>
    <el-button plain class="filter-item" size="small" type="primary" icon="el-icon-search" @click="crud.toQuery">搜索</el-button>
    <el-button plain v-if="crud.optShow.reset" class="filter-item" size="small" type="info" icon="el-icon-refresh-left" @click="crud.resetQuery()">重置</el-button>
  </span>
</template>
<script>
import { crud } from '@crud/crud'
export default {
  mixins: [crud()],
  props: {
    itemClass: {
      type: String,
      required: false,
      default: ''
    }
  }
}
</script>
